package com.boyue.service;

import com.boyue.entity.AddressList;
import com.boyue.utils.PageInfo;

import java.sql.SQLException;
import java.util.List;

/**
 * @auth wzy
 * @date 2023/9/1 16:21
 */
public interface AddressListService {
    List<AddressList> list() throws SQLException;

    PageInfo<AddressList> listPage(PageInfo pageInfo, AddressList addressList);

    Integer add(AddressList addressList) throws SQLException;

    Integer delete(Integer addId) throws SQLException;
}
